package com.example.gamestore.service;

import com.example.gamestore.pojo.Game;
import com.example.gamestore.pojo.User;

import java.util.List;


public interface GameService {
    Game add(Game game);

    void delete(Long id);

    int updateGame(Game game);

    List<Game> query();

    List<Game> searchGames(String key);

    Game getGameById(Long id);
    List<Game> getRelatedGames(Long id, int limit);
}
